home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000168_news@columbia.edu_Mon Apr 17 00:43:18 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA03912
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 19 Apr 1995 05:10:52 -0400
Received: by apakabar.cc.columbia.edu id AA19270
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 19 Apr 1995 05:10:51 -0400
Path: news.columbia.edu!panix!news.mathworks.com!udel!gatech!swrinde!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Automated SLIP logins from MSK...?
Message-Id: <1995Apr17.064318.47679@cc.usu.edu>
Date: 17 Apr 95 06:43:18 MDT
References: <3mt4ug$evh@kelly.teleport.com>
Organization: Utah State University
Lines: 67
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3mt4ug$evh@kelly.teleport.com>, sysone@teleport.com (FIGHT THE POWER) writes:
>
> Hi, I have a couple of questions regarding MS-DOS Kermit,
> version 3.14, 18 Jan 1995, patch level 3. I have not been able
> to find answers for these in my copy of _Using MS-DOS Kermit_,
> 2nd edition, nor in the docs from the .zip file. Please let me
> know if there is something I have overlooked.
>
> First: I have begun using Kermit over a dial-up SLIP
> connection to my local provider. My script for doing this loads
> the SLIP8250 driver if necessary, gets my password and dials. It
> then handles the login. Once the connection is authorized, the
> system displays the following:
>
> Set IP address of interface 'myname-slip'
> Packet mode enabled for IP address: aaa.bbb.ccc.ddd
>
> At this point, I escape back to my Kermit prompt and enter
>
> Mykermit>set tcp/ip host myname-slip
> Mykermit>set tcp/ip address aaa.bbb.ccc.ddd
>
> and from there I can TELNET &c. No problem so far. What I would
> like to do is to automate the last portion of the transaction;
> that is, for Kermit somehow to grab the hostname and address from
> the incoming data. If I could get the incoming lines into some
> variable(s), I might be able to use some of the new (3.14)
> functions on them. INPUT and REINPUT don't seem to be geared for
> this job -- at least from what the book and docs say. Is there a
> way to retrieve and use information in this way within Kermit?
You can move this material into a script. Have a look at the
variable \v(input) which reports the "first line" of text still held
in the buffer used by the INPUT command. That means up to the first
LF, CR, FF seen there. SHOW SCRIPT will display that buffer. From
that point you can slice & dice \v(input) as a string with the \f...()
commands to extract the desired component.
> Second: At the library where I work I have installed
> Kermit on several PCs acting as terminals for the on-line
> catalog -- these are on an ethernet. There are also some
> recently delivered computers which are hooked directly to the
> host via 9600-baud lines (COM1). On these latter machines, the
> host sends out escape sequences to change character colors
> regardless of the terminal type. Even 'TYMONO' does this. The
> problem is that the colors used are horrible. It would be much
> nicer to stick with basic screen colors; I like to use cyan on
> black with green underscore. Is there a way to instruct MS-DOS
> Kermit to ignore certain incoming escape sequences? The problem
> is not such attributes as 'bold, reverse underline,' as these I
> can control. The problem is the actual color change commands;
> e.g. ^[[34;40m or ^[[36;40m sequences. It is these I would like to
> screen out. Is such selective screening possible? The only
> alternative I can think of would be to get the system
> administrator to install a modified termcap/terminfo entry --
> which I could set up, but I don't think it would be allowed.
Nope. There isn't a way to selectively turn on/off recognition
of certain control sequences. Best to talks with the folks who
wrote that library software.
Joe D.
> Thanks in advance for any insights offered. Mail replies
> more than welcome. I will summarize responses if I get enough.
> P.S. I just received _Kermit News_ No. 6 via snail. The
> Brazilian Elections article was fascinating. Thanks!